/*
 * @Author: lp 654528967@qq.com
 * @Date: 2022-06-02 14:31:37
 * @LastEditors: lp 654528967@qq.com
 * @LastEditTime: 2022-06-20 10:23:41
 * @FilePath: \nien-vue3-admin\src\api\myMission\personalTasks\toDoTasks.ts
 * @Description: 代办任务api
 */
import request from '@/utils/request'

/*
    代办任务列表
*/ 
export const activitiTaskList = (params) => request({
  url: '/activiti/task/list',
  params,
})
/*
    获取审批详情
*/ 
export const activitiTaskDetail = (taskId) => request({
  url: `/activiti/task/${ taskId }`,
})
/*
    审批
*/ 
export const taskComplete = (data) => request({
  url: '/activiti/task/complete',
  method: 'post',
  data,
})
